package com.bpc.cs.dao;

import com.bpc.cs.dto.FactorChoiceDTO;

/**
 * @author   phan_tp
 * @datetime Dec 18, 2012 : 9:23:58 AM
 */
public interface IFactorChoiceDAO {

	/**
	 * Insert new factor choice
	 * @param FactorChoice factorChoiceDTO
	 * @return boolean TRUE : insert successfully
	 * 				   FALSE: insert failed
	 */
	public boolean insertFactorChoice(FactorChoiceDTO factorChoiceDTO);

	/**
	 * Delete factor choice
	 * @param int factorChoiceID
	 * @return boolean TRUE : Delete successfully
	 * 				   FALSE: Delete failed
	 */
	public boolean deleteFactorChoice(int factorChoiceID);

	/**
	 * Count the number of ruleID in table SCORING_FACTOR_CHOICE
	 * @param int ruleID
	 * @return the number of ruleID
	 */
	public int countRuleID(int ruleID);
}
